﻿@model XRM.Security.WebUI.Models.Report.CreateReportModel

<form class="form-inline">
    @Html.HiddenFor(m => m.ReportType)
    <div class="form-group">
        <label>Срок истечения менее чем</label>
        @Html.TextBoxFor(m => m.Value, new {Class = "form-control input-mini integer"})
        <label class="control-text">дней</label>
    </div>
    <div>
        <button class="btn btn-primary createReportBtn" type="button">Сформировать</button>
        <button class="btn btn-default clearBtn" type="button">Очистить</button>
    </div>
</form>

<script type="text/javascript">
    initIntegerFields($(".integer"));
</script>